/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package phongmodel;

import java.awt.Color;

/**
 *
 * @author Apapus
 */
public class MySphere {
    
    double rayon;
    Color kolor;
    Point3D center;
    double ka, ks, kd;
    double n;

    public void setKa(double ka) {
        this.ka = ka;
    }

    public void setKd(double kd) {
        this.kd = kd;
    }

    public void setKs(double ks) {
        this.ks = ks;
    }

    public void setN(double n) {
        this.n = n;
    }

    public double getKa() {
        return ka;
    }

    public double getKd() {
        return kd;
    }

    public double getKs() {
        return ks;
    }

    public double getN() {
        return n;
    }

    public void setCenter(Point3D center) {
        this.center = center;
    }

    public void setKolor(Color kolor) {
        this.kolor = kolor;
    }

    public void setRayon(double rayon) {
        this.rayon = rayon;
    }

    public Point3D getCenter() {
        return center;
    }

    public Color getKolor() {
        return kolor;
    }

    public double getRayon() {
        return rayon;
    }

    public MySphere(Point3D c, double r){
        this.center = c;
        this.rayon = r;
        this.kd = 0.5;
        this.ka = 0.5;
        this.ks = 0.5;
        this.kolor = Color.WHITE;
        this.n = 10;
    }
}
